/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package post;
import java.io.*;
/**
 *
 * @author sean
 */
public class store {
    private String storeName;
    private String address;
    private Catalog cat;    //product catalog for item lookup
    private File salesLog;  //keeps track of transactions

    public store()
    {
        storeName = "Travelling Bakers";
        address = "123 Bake St";
    }

    public void open( Catalog c, File sales )   //obtain catalog and salesLog
    {
        cat = c;
        salesLog = sales;
    }

    public Catalog getCatalog()
    {
        return cat;
    }
    public int updateStoreLog()
    {
        return 0;
    }//end updateStoreLog
}
